package com.liu.ssm.controller.service;

import java.util.List;
import java.util.Map;

import com.liu.ssm.entity.User;

/**
 * 用户（管理员） service
 * 
 * @author SHIYI
 *
 */
public interface UserService {

	User findByUsername(String username);

	int add(User user);

	List<User> findList(Map<String, Object> mapp);

	int getTotal(Map<String, Object> mapp);

	int edit(User user);

	int delete(String ids);
}
